import React from 'react';
import ReactDOM from "react-dom";
import Base from './Base.js';
import {Link,browserHistory} from 'react-router'
import Head from '../components/Head.js'
import Menu from '../components/Menu.js'
import Banner from '../components/Banner.js'
import LINK from '../res/LINK.js'
import Http from '../utils/Http.js'
import URL from '../res/URL.js'
import IMAGE from '../res/IMAGE.js'
import {
  Slider,
  Breadcrumb
} from 'amazeui-react';
export default 	class Main extends Base{
	constructor(props){
		super(props)
		this.state={}
	}
	onSelect(){

	}
	// h(){
	// 	Http.post(URL.cartoonList,{},data=>{


	// 	})
	// }
	componentDidMount(){
		// this.h()
	}
    render(){
        return(
            <div>
            	<Head/>
            	<Menu/>
            	<Slider onSelect={()=>{this.onSelect}} >
                    <Slider.Item>
                      <img style={{height:'400px'}} src="http://s.amazeui.org/media/i/demos/bing-1.jpg"/>
                    </Slider.Item>
                    <Slider.Item>
                        <img style={{height:'400px'}} src="http://s.amazeui.org/media/i/demos/bing-1.jpg"/>
                    </Slider.Item>
              </Slider>
              <div className='Index_box'>
                <div className='Index_comic'>
                <span className='Index_comic_icon1'></span>
                   <ul>
                       <li><a>音乐</a><span>|</span></li>
                       <li><a>国学</a><span>|</span></li>
                       <li><a>识字</a><span>|</span></li>
                       <li><a>外语</a><span>|</span></li>
                       <li><a>算术</a><span>|</span></li>
                       <li><a>生活</a><span>|</span></li>
                   </ul>
                   <div className=''></div>
                </div>
              </div>
            </div>
        )
    }
}
